<%--
  Created by IntelliJ IDEA.
  User: 陈振忠
  Date: 2016/8/3
  Time: 11:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title>添加版本</title>
</head>
<body>

<button class="btn btn-primary btn-sm" onclick="version.addVersion()" type="button">
    <span class="glyphicon glyphicon-plus"></span>
    新增版本
</button>



<div class="modal-content " id="hostModal" style="display: none; padding: 10px;">
    <form id="hostAddOrEditModelForm" action="">
        <table class="sun-form-table">
            <tr>
                <td><input type="text" name="accountId" class="sun-form-input form-control hide" id="accountId" value="1"/></td>
            </tr>
            <tr>
                <td><input type="text" name="projectId" class="sun-form-input form-control hide" id="projectId" value="1"/></td>
            </tr>
            <tr>
                <th>版本名称</th>
                <td><input type="text" name="name" class="sun-form-input form-control" id="name" required="required"/></td>

            </tr>
             <tr>
                 <th>版本备注</th>
                 <td colspan="4"><textarea rows="4" cols="1" name="remark" class=" sun-form-input form-control" id="remark"></textarea></td>
             </tr>
        </table>
    </form>
</div>
<script type="text/javascript">
    var scripts = [null,
        path + '/admin/powerdb/designer/version/js/index.js',
        null];
    $('.page-content-area').ace_ajax('loadScripts', scripts, function (){
    })
</script>
</body>
</html>
